class AddCountColumnToUserAndThing < ActiveRecord::Migration
  def self.up
    add_column :things, :users_count, :integer, :default => 0
    add_column :users, :things_count, :integer, :default => 0
  end

  def self.down
    remove_column :things, :users_count
    remove_column :users, :things_count
  end
end
